package org.example.test02.domain;

public class QuestionDetail {
    private Long questionId;
    private String title; //题目标题
    private Integer difficulty;  //题目难度
    private Long timeLimit; //时间限制
    private Long spaceLimit;  //空间限制
    private String content;  //题目内容
    private String questionCase;   //测试用例
    private String defaultCode;  //默认代码块
    private String mainFunc;  //main函数

    public Long getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Long questionId) {
        this.questionId = questionId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getDifficulty() {
        return difficulty;
    }

    public void setDifficulty(Integer difficulty) {
        this.difficulty = difficulty;
    }

    public Long getTimeLimit() {
        return timeLimit;
    }

    public void setTimeLimit(Long timeLimit) {
        this.timeLimit = timeLimit;
    }

    public Long getSpaceLimit() {
        return spaceLimit;
    }

    public void setSpaceLimit(Long spaceLimit) {
        this.spaceLimit = spaceLimit;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getQuestionCase() {
        return questionCase;
    }

    public void setQuestionCase(String questionCase) {
        this.questionCase = questionCase;
    }

    public String getDefaultCode() {
        return defaultCode;
    }

    public void setDefaultCode(String defaultCode) {
        this.defaultCode = defaultCode;
    }

    public String getMainFunc() {
        return mainFunc;
    }

    public void setMainFunc(String mainFunc) {
        this.mainFunc = mainFunc;
    }

    @Override
    public String toString() {
        return "QuestionDetail{" +
                "questionId=" + questionId +
                ", title='" + title + '\'' +
                ", difficulty=" + difficulty +
                ", timeLimit=" + timeLimit +
                ", spaceLimit=" + spaceLimit +
                ", content='" + content + '\'' +
                ", questionCase='" + questionCase + '\'' +
                ", defaultCode='" + defaultCode + '\'' +
                ", mainFunc='" + mainFunc + '\'' +
                '}';
    }
}
